<template>
  <div>
    <div class="box">
      <div class="left">
        <van-uploader v-model="fileList" multiple :max-count="1" />
      </div>
      <div class="right">
        <b @click="login()">立即登录</b>
        <p>积分:0</p>
      </div>
    </div>
    <div class="tz">
      <van-notice-bar left-icon="volume-o" text="在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。" />
    </div>
    <div class="con1">
      <van-nav-bar>
        <template #left>
          <van-icon name="notes-o" size="23px" color="burlywood"/>我的订单
        </template>
        <template #right>
          <van-icon name="arrow" color="grey"/>
        </template>
      </van-nav-bar>
    </div>
    <div class="con2">
        <van-grid>
  <van-grid-item icon="paid" text="待付款" />
  <van-grid-item icon="send-gift-o" text="待发货" />
  <van-grid-item icon="logistics" text="待收货" />
  <van-grid-item icon="comment-o" text="待评价" />
</van-grid>
    </div>
    <div class="con3">
        <van-grid :column-num="3">
        <van-grid-item icon="gold-coin-o" text="我的余额" color="brown"/>
        <van-grid-item icon="edit" text="我的砍价" color="brown"/>
        <van-grid-item icon="coupon-o" text="我的礼券" color="burlywood"/>
        <van-grid-item icon="star-o" text="我的收藏" color="burlywood"/>
        <van-grid-item icon="location-o" text="我的地址" color="skyblue"/>
        <van-grid-item icon="service-o" text="联系客服" color="skyblue"/>
</van-grid>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      fileList: [],
    };
  },
  methods: {
      login(){
          this.$router.push("/login")
      }
  },
};
</script>
<style scoped>
.box {
  width: 100%;
  height: 25vh;
  background: burlywood;
  display: flex;
  align-items: center;
}
.left {
  width: 24%;
  height: 13vh;
  /* border: 1px solid #000; */
  margin-left: 20px;
}
.right {
  width: 25%;
  height: 13vh;
  /* border: 1px solid #000; */
  color: white;
  text-align: center;
  margin-left: 10px;
}
b {
  font-size: 20px;
}
p {
  height: 25px;
  line-height: 25px;
  background: darkgoldenrod;
}
.van-uploader {
  width: 100%;
  height: 100%;
}
.tz,.con2{
    border-bottom: 10px solid rgba(0, 0, 0, 0.034);
}
.con1{
    border-bottom: 1px solid rgba(0, 0, 0, 0.034);
}
</style>